﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ThePresenter.Net.PresenterCom.Actions
{
	[Serializable]
	class SlideResponseAction : PresentationAction
	{
		/// <summary>
		/// Action for creation of requested slide. Is null if server don't have requested slide.
		/// </summary>
		readonly public NewSlideAction RequestedSlideAction;

		public SlideResponseAction(Slide S)
		{
			if (S == null)
				RequestedSlideAction = null;
			else
				RequestedSlideAction = new NewSlideAction(S);
		}
	}
}
